

<%= error_messages_for :owner %>
<div class="message"><span class="label_title">Add a Team Member</span><br><br>
  To add a new owner to <%= @team.manager.full_name %>'s team enter the username of that
  person as it would appear in a DDTS bug field and click 'Add this owner'.
</div>
<br><br>


<% form_for :owner, :url => { :action => :create } do |form| %> 


<p>Team Lead Username: <%= form.text_field 'username' %> </p>
<%= form.hidden_field('team_id', {:value => @team.id}) %>

<BR><BR>
<%= form.submit "Add new team member" %>   

<%= link_to("Never mind", :controller => "teams", :action => "show", :id => @team.id) %> 


<% end %>	 

